package com.itchen.school.common.jdkext;

import java.io.Serializable;

public interface Predicate2<T1, T2> extends Serializable {
    default boolean test(T1 t1, T2 t2) {
        return true;
    }

    @SafeVarargs
    static <T1, T2> Predicate2<T1, T2>[] of(Predicate2<T1, T2>... funcs) {
        return funcs;
    }
}

